﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpObjects.SearchEngine.Common.Search;

namespace SharpObjects.SearchEngine.Common.QueryConstraints
{
    [Serializable]
    public class SimilarDocumentQueryConstraint : IQueryConstraint
    {
        public SimilarDocumentQueryConstraint()
        {
            this.FieldBoosts = new Dictionary<string, double>();
        }

        public string Uri { get; set; }
        public Dictionary<string, double> FieldBoosts { get; set; }


        #region IQueryConstraint Members

        public Guid ConstraintId { get; set; }
        public bool ShowFieldName { get; set; }

        #endregion
    }
}
